After you run a PegaUnit test case or test suite, data pages used to set up the test environment are automatically removed.
You can also apply additional data transforms or activities to remove other pages or information on the clipboard before you run more test cases or suites.
Complete the following steps.
Complete one of the following actions:
To clean up the test environment of a test case, open the PegaUnit test case if it is not already open.
To clean up the test environment of a test suite, open the PegaUnit test suite if it is not already open.
Click the Setup & Cleanup tab.
In the Cleanup section, click Add step.
Select either Apply data transform or Execute activity and then provide the data transform and then provide the appropriate data transform or activity in the next field.
If parameters are configured on the rule, you can configure them by clicking the Parameters link and providing values in the Configure parameters dialog box.
Optional:Provide additional information in the Enter comments field.
Click Save.